<template>
  <div class="title_flag">
    <el-row :gutter="12" style="margin: 30px 0">
      <el-col :span="14" :offset="5">
        <el-card shadow="never" :body-style="{ padding: '15px', background: '#fafafa', fontWeight: 'bold' }">
          <i :class="icon" style="margin-right: 5px"></i>
          <span>{{ title }}</span>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>
<script>
export default {
  name: 'TitleFlagView',
  props: {
    icon: {
      type: String,
      default: ''
    },
    title: {
      type: String,
      default: ''
    }
  }
}
</script>
<style lang="less" scoped>
.title_flag {
  width: 100%;
  height: 100%;
  opacity: 0.95;
}
</style>
